//
//  GenearchAddViewController.h
//  Eath
//
//  Created by mao on 11/6/14.
//  Copyright (c) 2014 yuhaya. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Genearch.h"
#import "DCRoundSwitch.h"

@interface GenearchAddViewController : UIViewController <UITableViewDataSource,UITableViewDelegate,UITextFieldDelegate>

@property (nonatomic,strong) UITableView * table;
@property (nonatomic,strong) Genearch * gen;

@property (nonatomic,strong) UIImageView * photo;
@property (nonatomic,strong) UITextField * name;
@property (nonatomic,strong) UITextField * phone;
@property (nonatomic,strong) UITextField *pwd;
@property (nonatomic,strong) UITextField *relation;
@property (nonatomic,strong) UITextField *card;
@property (nonatomic,strong) UITextField *full_name;
@property (nonatomic,strong) DCRoundSwitch * sex;

@property (nonatomic,assign) NSInteger height;
@property (nonatomic,assign) NSInteger purpose;//2->编辑基本信息 1->编辑家长学生关系信息 3->添加家长

@end
